using System;
using System.Data;
using System.Collections;

namespace APP.QUANLY.Entity.ConditionForm
{
    /// <summary>
    /// Summary description for LOAIMATHANG.
   /// </summary>
    public class LOAIMATHANGConditionForm
    {

        #region Fields
      private Int32 _MALOAIMATHANG;
      private string _TENLOAIMATHANG;
      private string _MOTA;
      private Int32 _STATUS;
      private DateTime _NGAYTAO;
      private string _NGUOITAO;
      private DateTime _NGAYCAPNHAT;
      private string _NGUOICAPNHAT;
      private CHIETKHAULOAIMATHANGList _listCHIETKHAULOAIMATHANG;
      private MATHANGList _listMATHANG;
        #endregion

        #region Properties
	public bool IsSetMALOAIMATHANG;  
    public bool IsMALOAIMATHANGNullable
      { get { return false;  } }
      public Int32 MALOAIMATHANG
      {
         get { return _MALOAIMATHANG; }
         set { 
		_MALOAIMATHANG = value; 
		IsSetMALOAIMATHANG = true;
		}
      }
	public bool IsSetTENLOAIMATHANG;
	public bool IsTENLOAIMATHANGNullable
      { get { return true;  } }
      public string TENLOAIMATHANG
      {
         get { return _TENLOAIMATHANG;  }
         set { 
		_TENLOAIMATHANG = value; 
		IsSetTENLOAIMATHANG = true;
		}
      }
	public bool IsSetMOTA;
	public bool IsMOTANullable
      { get { return true;  } }
      public string MOTA
      {
         get { return _MOTA;  }
         set { 
		_MOTA = value; 
		IsSetMOTA = true;
		}
      }
	public bool IsSetSTATUS;
	public bool IsSTATUSNullable
      { get { return true;  } }
      public Int32 STATUS
      {
         get { return _STATUS;  }
         set { 
		_STATUS = value; 
		IsSetSTATUS = true;
		}
      }
	public bool IsSetNGAYTAO;
	public bool IsNGAYTAONullable
      { get { return true;  } }
      public DateTime NGAYTAO
      {
         get { return _NGAYTAO;  }
         set { 
		_NGAYTAO = value; 
		IsSetNGAYTAO = true;
		}
      }
	public bool IsSetNGUOITAO;
	public bool IsNGUOITAONullable
      { get { return true;  } }
      public string NGUOITAO
      {
         get { return _NGUOITAO;  }
         set { 
		_NGUOITAO = value; 
		IsSetNGUOITAO = true;
		}
      }
	public bool IsSetNGAYCAPNHAT;
	public bool IsNGAYCAPNHATNullable
      { get { return true;  } }
      public DateTime NGAYCAPNHAT
      {
         get { return _NGAYCAPNHAT;  }
         set { 
		_NGAYCAPNHAT = value; 
		IsSetNGAYCAPNHAT = true;
		}
      }
	public bool IsSetNGUOICAPNHAT;
	public bool IsNGUOICAPNHATNullable
      { get { return true;  } }
      public string NGUOICAPNHAT
      {
         get { return _NGUOICAPNHAT;  }
         set { 
		_NGUOICAPNHAT = value; 
		IsSetNGUOICAPNHAT = true;
		}
      }
      public CHIETKHAULOAIMATHANGList CHIETKHAULOAIMATHANGList
      { get { return _listCHIETKHAULOAIMATHANG; } }
      public MATHANGList MATHANGList
      { get { return _listMATHANG; } }
        #endregion

        #region Constructors
        public LOAIMATHANGConditionForm()
        {
         Reset();
        }
        #endregion

        public void Reset()
        {
            	 _MALOAIMATHANG = EmptyValues.v_Int32;
	IsSetMALOAIMATHANG = false;
	 _TENLOAIMATHANG = EmptyValues.v_string;
	IsSetTENLOAIMATHANG = false;
	 _MOTA = EmptyValues.v_string;
	IsSetMOTA = false;
	 _STATUS = EmptyValues.v_Int32;
	IsSetSTATUS = false;
	 _NGAYTAO = EmptyValues.v_DateTime;
	IsSetNGAYTAO = false;
	 _NGUOITAO = EmptyValues.v_string;
	IsSetNGUOITAO = false;
	 _NGAYCAPNHAT = EmptyValues.v_DateTime;
	IsSetNGAYCAPNHAT = false;
	 _NGUOICAPNHAT = EmptyValues.v_string;
	IsSetNGUOICAPNHAT = false;
         _listCHIETKHAULOAIMATHANG = new CHIETKHAULOAIMATHANGList();
         _listMATHANG = new MATHANGList();
        }
    }
}